//	Ordinaire.ExceptionMessage
//	Copyright (c) 2008 Jonathan Loe
//
//	MIT license (http://en.wikipedia.org/wiki/MIT_License)
//
//	Permission is hereby granted, free of charge, to any person obtaining a copy
//	of this software and associated documentation files (the "Software"), to deal
//	in the Software without restriction, including without limitation the rights 
//	to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
//	of the Software, and to permit persons to whom the Software is furnished to do so, 
//	subject to the following conditions:
//
//	The above copyright notice and this permission notice shall be included in all 
//	copies or substantial portions of the Software.
//
//	THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, 
//	INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
//	PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE 
//	FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
//	ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

using System;
using System.Collections.Generic;
using System.Globalization;
using System.Reflection;
using System.Resources;
using System.Text;
using System.Threading;

namespace Ordinaire
{
	/// <summary>
	/// ExceptionMessage is a lookup class merely to manage the exception messages kept in resource file.
	/// </summary>
	internal class ExceptionMessage
	{
		private ExceptionMessage() { }

		internal static string InvalidConnectionNameInConfigFormat
		{
			get { return OResourceManager.Instance.GetString("001"); }
		}

		internal static string EmptyConnectionStringInConfigFormat
		{
			get { return OResourceManager.Instance.GetString("005"); }
		}

		internal static string NullOrEmptyListFormat
		{
			get { return OResourceManager.Instance.GetString("006"); }
		}

		internal static string NoConnectionStringInConfig
		{
			get { return OResourceManager.Instance.GetString("002"); }
		}

		internal static string EmptyConnectionString
		{
			get { return OResourceManager.Instance.GetString("003"); }
		}

		internal static string EmptyConnectionName
		{
			get { return OResourceManager.Instance.GetString("004"); }
		}

		internal static string NoMatchingFieldNameFormat
		{
			get { return OResourceManager.Instance.GetString("007"); }
		}

		internal static string NoFieldToFormat
		{
			get { return OResourceManager.Instance.GetString("008"); }
		}

		internal static string DatabaseTransactionStarted
		{
			get { return OResourceManager.Instance.GetString("009"); }
		}

		internal static string DatabaseTransactionNotStarted
		{
			get { return OResourceManager.Instance.GetString("010"); }
		}

		internal static string InvalidElementFormat
		{
			get { return OResourceManager.Instance.GetString("011"); }
		}

		internal static string MissingElementFormat
		{
			get { return OResourceManager.Instance.GetString("012"); }
		}

		internal static string MissingAttributeInElementFormat
		{
			get { return OResourceManager.Instance.GetString("013"); }
		}

		internal static string EmptyAttributeInElementFormat
		{
			get { return OResourceManager.Instance.GetString("014"); }
		}

		internal static string InvalidMappingNameFormat
		{
			get { return OResourceManager.Instance.GetString("015"); }
		}

		internal static string InvalidMappingFileFormat
		{
			get { return OResourceManager.Instance.GetString("016"); }
		}

		internal static string UnnamedMappingInFileFormat
		{
			get { return OResourceManager.Instance.GetString("017"); }
		}

		internal static string SenderNotSpecified
		{
			get { return OResourceManager.Instance.GetString("018"); }
		}

		internal static string ReceiverNotSpecified
		{
			get { return OResourceManager.Instance.GetString("019"); }
		}

		internal static string MoreThanOneFormat
		{
			get { return OResourceManager.Instance.GetString("020"); }
		}

		internal static string OutOfRangeFormat
		{
			get { return OResourceManager.Instance.GetString("021"); }
		}

		internal static string NoDefaultDatabase
		{
			get { return OResourceManager.Instance.GetString("022"); }
		}
	}
}
